package com.team20.map_demo.domain;

import java.util.List;

public class SearchRegionResponse {

    private Long total;
    private List<Region> regions;

    public SearchRegionResponse() {
    }

    public SearchRegionResponse(Long total, List<Region> regions) {
        this.total = total;
        this.regions = regions;
    }

    public Long getTotal() {

        return total;
    }

    public void setTotal(Long total) {

        this.total = total;
    }

    public List<Region> getRegions() {

        return regions;
    }

    public void setRegions(List<Region> regions) {

        this.regions = regions;
    }
}
}
